
/**
 *  \file gatt_db_extern.h
 *
 */

/*
 *  Copyright (C) 2013. Mindtree Ltd.
 *  All rights reserved.
 */

#ifndef _H_GATT_DB_EXTERN_
#define _H_GATT_DB_EXTERN_

/* --------------------------------------------- Header File Inclusion */
#include "BT_common.h"
#include "gatt_db_internal.h"

/* --------------------------------------------- Global Definitions */

BT_DEFINE_MUTEX_TYPE (extern, gatt_db_mutex)
extern DECL_CONST GATT_DB_FETCH_UUID gatt_db_fetch_uuid[];
extern DECL_CONST GATT_DB_FETCH_VALUE gatt_db_fetch_value[];

#ifdef GATT_DB_HASH_SUPPORT
extern GATT_DB_NTF_CB gatt_db_ntf_cb_g;
extern UCHAR gatt_db_hash_calc_state;
#endif /* GATT_DB_HASH_SUPPORT */

#ifdef GATT_DB_HAVE_REGISTERATION_SUPPORT
extern GATT_DB_CHAR_HANDLER_CB gatt_db_char_hndlr_cb;
#endif /* GATT_DB_HAVE_REGISTERATION_SUPPORT */

/* --------------------------------------------- Structures/Data Types */

/* --------------------------------------------- Macros */

/* --------------------------------------------- Internal Functions */

/* --------------------------------------------- API Declarations */

#endif /* _H_GATT_DB_EXTERN_ */

